package com.cgt.web.service;

import com.cgt.web.pojo.Teacher;
import com.cgt.web.util.PageInfo;

import java.util.List;

public interface TeaService {

    List<Teacher> selectAll();

    void deleteById(String id);

    void addt(Teacher teacher);

    Teacher toUpdate(String id);

    void update(Teacher teacher);

    PageInfo<Teacher> selectByPage(int pageNo, int pageSize);
}
